package com.erp.app.common.attachment.beans;

import java.sql.Timestamp;

import com.erp.app.common.attachment.pk.AttachmentPk;
import com.erp.framework.model.pk.SimpleSearchMaintStylePk;
import com.erp.framework.model.vo.SimpleSearchMaintStyleVo;
import com.erp.framework.types.CustomBigInteger;
import com.erp.framework.types.CustomSqlDate;

public class AttachmentVo extends SimpleSearchMaintStyleVo{

	protected String companyCode;
	protected CustomBigInteger attachmentAttachmentLineNo;

	protected String createUser;                                                                         //DB Column Name: CREATE_USER
	protected Timestamp createDate;                                                                      //DB Column Name: CREATE_DATE
	protected String updateUser;                                                                         //DB Column Name: UPDATE_USER
	protected Timestamp updateDate;                                                                      //DB Column Name: UPDATE_DATE
	protected String attachmentDcInd;                                                                    //DB Column Name: DC_IND
	protected CustomSqlDate attachmentDcDate;                                                            //DB Column Name: DC_DATE

	protected String attachmentDescription;
	protected String attachmentContentType;
	protected String attachmentFileName;
	protected byte[] attachment;

	public SimpleSearchMaintStylePk getSearchMaintStylePk() {
		// TODO Auto-generated method stub
		return new AttachmentPk(this.companyCode, this.attachmentAttachmentLineNo);
	}

	protected void setChildTypesName() {
		// TODO Auto-generated method stub

	}

	protected void setDaoName() {
		// TODO Auto-generated method stub
		this.daoName="com.erp.app.common.attachment.dao.AttachmentCommonDao";

	}

	public byte[] getAttachment() {
		return attachment;
	}

	public void setAttachment(byte[] attachment) {
		this.attachment = attachment;
	}

	public String getAttachmentContentType() {
		return attachmentContentType;
	}

	public void setAttachmentContentType(String attachmentContentType) {
		this.attachmentContentType = attachmentContentType;
	}

	public CustomSqlDate getAttachmentDcDate() {
		return attachmentDcDate;
	}

	public void setAttachmentDcDate(CustomSqlDate attachmentDcDate) {
		this.attachmentDcDate = attachmentDcDate;
	}

	public String getAttachmentDcInd() {
		return attachmentDcInd;
	}

	public void setAttachmentDcInd(String attachmentDcInd) {
		this.attachmentDcInd = attachmentDcInd;
	}

	public String getAttachmentDescription() {
		return attachmentDescription;
	}

	public void setAttachmentDescription(String attachmentDescription) {
		this.attachmentDescription = attachmentDescription;
	}

	public String getAttachmentFileName() {
		return attachmentFileName;
	}

	public void setAttachmentFileName(String attachmentFileName) {
		this.attachmentFileName = attachmentFileName;
	}

	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Timestamp getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public CustomBigInteger getAttachmentAttachmentLineNo() {
		return attachmentAttachmentLineNo;
	}

	public void setAttachmentAttachmentLineNo(
			CustomBigInteger attachmentAttachmentLineNo) {
		this.attachmentAttachmentLineNo = attachmentAttachmentLineNo;
	}

}
